package com.java.gulimall.seckill.service;

import com.java.gulimall.seckill.to.SeckillSkuRedisTo;

import java.util.List;

/**
 * @author jl
 * Created on 2020/9/22
 */
public interface SeckillService {

    void upSeckillSkuLatest3Days();

    List<SeckillSkuRedisTo> getCurrentSeckillSkus();

    SeckillSkuRedisTo getSkuSeckilInfo(Long skuId);

    String kill(String killId, String key, Integer num) throws InterruptedException;
}
